home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: netcom.com!titan
- From: titan@netcom.com (Eric Cummings)
- Subject: VC++ and Serial Comm + RC
- Message-ID: <titanDKvM3w.Iw5@netcom.com>
- Sender: titan@netcom9.netcom.com
- Reply-To: titan@netcom.com
- Organization: Caltech Aeronautics
- X-Newsreader: Forte Free Agent 1.0.82
- Date: Mon, 8 Jan 1996 19:02:54 GMT
-
- This is probably a dumb question, but why can't I use ANY serial
- communications calls (PurgeComm, etc.) in the application I am TRYING
- to develop for driving an RS-232 line from my comm port?
-
- I am using the latest VC++. Windows.h I find:
-
- #ifdef RC_INVOKED
-
- /* Turn off a bunch of stuff to ensure that RC files compile OK. */
- #define NOATOM
- #define NOGDICAPMASKS
- #define NOMETAFILE
- #define NOMINMAX
- #define NOMSG
- #define NOOPENFILE
- #define NORASTEROPS
- #define NOSCROLL
- #define NOSOUND
- #define NOSYSMETRICS
- #define NOTEXTMETRIC
- #define NOWH
- #define NOCOMM
- #define NOKANJI
- #define NOMCX
- #endif /* RC_INVOKED */
-
- which turns off all sorts of things (including serial comm---the
- NOCOMM flag) if RC is invoked. Does this mean that if I use an RC
- file I lose this much capability? Doe it mean that I should
- precompile my RC file?
-
- I used the Wiz to make a dialog-based app foundation. Is this where I
- went astray? I am very new to this stuff, so . . .
-
- Eric Cummings
-
-
-